package com.rent.member.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 会员分享记录
 * </p>
 *
 * @author zn
 * @since 2025-03-04
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("ums_member_share")
@ApiModel(value = "UmsMemberShare对象", description = "会员分享记录")
public class UmsMemberShare implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("评论ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("类型(1.动态 2.栏目3.店铺4.商品)")
    @TableField("type")
    private Integer type;

    @ApiModelProperty("用户ID")
    @TableField("member_id")
    private Integer memberId;

    @ApiModelProperty("用户名")
    @TableField("nick_name")
    private String nickName;

    @ApiModelProperty("是否有效")
    @TableField("isvalid")
    private Integer isvalid;

    @ApiModelProperty("收藏内容id")
    @TableField("site_id")
    private Integer siteId;

    @TableField("title")
    private String title;

    @ApiModelProperty("收藏链接")
    @TableField("url")
    private String url;

    @TableField("remark")
    private String remark;

    @ApiModelProperty("创建时间")
    @TableField("creat_time")
    private Date creatTime;
}
